package cn.xfdzx.android.apps.shop.contract;

import cn.xfdzx.android.apps.shop.base.BaseView;
import cn.xfdzx.android.apps.shop.bean.OrderWuliuDaMaBeen;
import cn.xfdzx.android.apps.shop.bean.OrderWuliuShunFengBeen;
import io.reactivex.Flowable;


/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */

public interface XFdOrderWuliuContract {
    interface Model {
        Flowable<OrderWuliuDaMaBeen> orderWuliuDama(String  orderId);
        Flowable<OrderWuliuShunFengBeen> orderWuliuFeng(String  orderId);

    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onOrderWuliuDamaSuccess(OrderWuliuDaMaBeen bean);
        void onOrderWuliuFengSuccess(OrderWuliuShunFengBeen bean);
    }

    interface Presenter {
        /**
         *
         */
        void orderWuliuDama(String orderId);
        void orderWuliuFeng(String orderId);
    }
}
